* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a6c35;
    color: white;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.game-header {
    text-align: center;
    margin-bottom: 20px;
}

.game-main {
    position: relative;
    height: 70vh;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
}

.player {
    position: absolute;
    width: 200px;
}

.player-left {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.player-right {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.player-self {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.player-cards {
    min-height: 150px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
}

.play-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    text-align: center;
}

.action-buttons {
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.game-controls {
    text-align: center;
    margin-top: 20px;
}

.card {
    width: 90px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 -15px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.card.selected {
    transform: translateY(-20px);
}

.card:hover {
    transform: translateY(-10px);
}

.card.selected:hover {
    transform: translateY(-25px);
}

.card-value {
    font-size: 24px;
    font-weight: bold;
}

.card-suit {
    font-size: 36px;
    line-height: 1;
}

.card.hearts, .card.diamonds {
    color: #ff0000;
}

.card.clubs, .card.spades {
    color: #000000;
}

.card.joker {
    color: #ff0000;
}

.player-cards {
    padding: 20px;
    min-height: 160px;
    position: relative;
}

.played-cards {
    min-height: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.player-info {
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
}

@keyframes dealCard {
    from {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }
    to {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
}

.card.dealing {
    animation: dealCard 0.3s ease-out forwards;
} 